package org.bggood.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
public class Department {
    private Long id;
    /**
     * 部门编号
     */
    private String sn;
    /**
     * 部门名称
     */
    private String name;
    /**
     * 部门上级分层
     */
    private String dirPath;
    /**
     * 部门状态
     */
    private Integer state = 0;
    /**
     * 管理员id
     */
    private Long manager_id;
    /**
     * Employee对象
     */
    private Employee manager;
    /**
     * 上级部门id
     */
    private Long parent_id;

    private Parent parent;
}